
package de.fhhof.brst.data;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Transient;
public class Event implements Serializable {
  /**
   * 
   */
  @Transient
  private static final long serialVersionUID =  2073642612480439071L;

  private long id;

  private String name;

  private String genre;

  private String location;

  private Date date;

  private long availableTickets;

  private double pricePerTicket;

  private boolean lotteryStarted =  false;

  public long getId() {
		return id;
  }

  public void setId(long id) {
		this.id = id;
  }

  public String getName() {
		return name;
  }

  public void setName(String name) {
		this.name = name;
  }

  public String getLocation() {
		return location;
  }

  public void setLocation(String location) {
		this.location = location;
  }

  public Date getDate() {
		return date;
  }

  public void setDate(Date date) {
		this.date = date;
  }

  public String getGenre() {
		return genre;
  }

  public void setGenre(String genre) {
		this.genre = genre;
  }

  public long getAvailableTickets() {
		return availableTickets;
  }

  public void setAvailableTickets(long availableTickets) {
		this.availableTickets = availableTickets;
  }

  public double getPricePerTicket() {
		return pricePerTicket;
  }

  public void setPricePerTicket(double pricePerTicket) {
		this.pricePerTicket = pricePerTicket;
  }

  public boolean isLotteryStarted() {
		return lotteryStarted;
  }

  public void setLotteryStarted(boolean lotteryStarted) {
		this.lotteryStarted = lotteryStarted;
  }

}
